//加
export function plusAction() {
    return {
        type: "plus"
    }
}
//减
export function minusAction() {
    return {
        type: "minus"
    }
}

//todo添加代办事项
export function addTodoToPendding(text){
    return{
        type:"addTodo",
        text:text
    }
}

//todo完成的事项
export function penddingToFinished(todo){
    return{
        type:"penddingToFinished",
        todo:todo
    }
}